import { IFeidaoAiBrowserComponent } from '@dfeidao/atom-web/interfaces';
import fire from '@dfeidao/atom-web/msg/fire';

export default async function a008(fd: IFeidaoAiBrowserComponent, f: Event) {
	// todo

	const ns_chk = fd.data.node.querySelectorAll('[data-id="biaoti"]');
	const b = Array.from(ns_chk) as HTMLInputElement[];
	const d = b.map((n) => {
		const v = JSON.parse(n.getAttribute('data-v'));
		return v;
	});
	console.log(d);

	fire('zj-000004', 'a002', d);
	// fire('zj-000004', 'a002', v);

}
